#include "LibReference.h"

void InitGraphics(int iWidth, int iHeight)
{
	Device::GetInstance()->CreateDevicePlatform(Device::Device::Android, iWidth, iHeight, "Android Game Demo", 0);
	Device::GetInstance()->RegisterGameContext(Game::GetInstance());
	Device::GetInstance()->Init();
}

void DestroyGraphics()
{
	Device::GetInstance()->Destroy();
	Device::GetInstance()->DestroyInstance();
}

void Run()
{
	Device::GetInstance()->Run();
}
